package cn.doitedu.eagle.beans;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.kie.api.runtime.KieSession;

import java.io.Serializable;

/***
 * @author 涛哥
 * @nick_name "deep as the sea"
 * @contack qq:657270652 wx:doit_edu
 * @site www.51doit.cn
 * @date 2021/3/25
 * @desc 规则state存储格式封装实体
**/
@Data
@AllArgsConstructor
@NoArgsConstructor
public class RuleKieSessionStateBean implements Serializable {
    // 规则id
    private String ruleId;
    // drools规则容器
    private KieSession kieSession;
    // 事件次数类条件查询sql
    private String eventCountQuerySql;
    // 事件次序类条件查询sql
    private String eventSeqQuerySql;
}
